inOrder traversal without recursion