Replace built-in hash function with hashlib.

The built-in hash function returns inconsistent values in Python 3.
Merge pull request #76 from 9m66p93w/hashing

Replace built-in hash function with hashlib.
Cosmetics
Remove useless comment