Simple hash table implementation for practice