in order traversal and post traversal without recursion