Simple hashmap implementation