Preorder traversal of binary tree.