Completed all functions in HashTable.h