Solve problem Binary Tree Pre-order Traversal