HashTable: constructor and function hash implemented.