Dictionary implementation based on a hash table