construct bst, inorder traversal