Hash class complete

the hash function needs to be modified so that the entries are more
better distributed.  In my testing I discovered that most of the
entries bunched up into index 0 of the hash table.