A simple implementation of a hashmap.