binary tree inorder traversal solution