結果 : binary tree in python code