結果 : create a tree data structure in python