Initial cut of zed shaw's hashmap implementation, with a few tweaks from me