binary-tree-preorder-traversal cpp