Simplified and refactored hashmap implementation.
Renamed argument for consistency.
Hashmap resizing works.