data structure implementation: finished basic hash table implementation