add one-line-tree-in-Python