Binary Tree Preorder Traversal

solution for the problem "Binary Tree Preorder Traversal",from my blog.