TreeIterator

implementing inorder tree iterator