Adding a custom hash map class