Complete basic hash table implementation.