add another iter solutin for post order traversal