Depth first search traversals: inorder, preorder, postorder