better hashing function
Merge pull request #1 from peterkhayes/betterHash

better hashing function