added HashUtil:
generates HashCodes
compares them