Implemented a basic generic HashTable.