Added hash function for correct functioning of hashmap