in order traversal without using recursion