binary tree preorder traversal, recursive mode