Added hash_map_reset function that frees the space allocated for the elements of a hash map.