convert_tree2bst.py