Added HashMap class and test class