implemented HashDictionary