Changed toIterator in EquaSet and SortedEquaSet to return Iterator[T].