print the tree in order