tree library Null safety

Classes

Tree<T>
TreeElement<T>