binary tree preorder traversal.