binary tree: preorder, inorder, postorder, and BFS