iteractive inorder traversal