preorder traversal tree in recursive style
reorder list