Newick tree iterator