Added toArray() and the IteratorAggregate interface to the HashSet