Makes sure hash on a number always

returns an int. And checks if theres a bucket in a dict with the same
hash.