solution: binary tree preorder traversal -> recursive