Added the get and set methods for Hashmap