Add keys method to Hashmap