結果 : binary tree traversal code python