playing around with simple hash functions