Changes made for InOrderTraversal