Implementation of hash table