Add preorder traversal of binary tree without recursion