結果 : tree data structure implementation in python