Binary Tree Preorder and Postorder Traversal