Simple hash table implementation.