hw4 task 1, hashtable class. no ui yet.