hash, user input number to check if key exists