HashSet iterator
HashSet: moved hash function into trait