add new inorder method for valid bst