same-tree.py