a bad hash function example