Implement simple hashmap for key->variable lookups