inordertraversal works fine