Binary Tree Preorder Traversal sol2 stack