Added HashMap with chaining.