recover_binary_tree.py