Fixed it up and got it to compile

The main thing I did was change the method signature for the small int map to match the one used in hashmap and that fixed most of the problems right there :)