tree_structure.py and test_tree_strucrure.py do not work :( need in debugging