public void put(string key, int val) { hash.put(key); int i = hash.find(key); hash.value[i] = val; cnt++; }