結果 : how to create tree data structure in python