Added toIterator method to EquaSet.