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 hte problems right there :)
Merge pull request #24 from jroweboy/trie_compiles

Fixed it up and got it to compile