hashes an int as a key and an int as its value