Made hashmap class a macro that can be initialized with the type parameters