結果 : create a tree diagram in python