solve Binary Tree Preorder Traversal