implementation of a hash_set that tests three simple hash functions