hashmap.c finalized