結果 : code for binary tree in python