add a simple hashmap implementation