結果 : binary tree algorithm in python