結果 : binary tree function python