add: binary tree traversal  python version