The iterator must be passed to a RecursiveInteratorIterator object in order to actually print the entire tree

The iterator must be passed to a RecursiveInteratorIterator object in order to actually print the entire tree