Trying to make diff work.

The hash function is not working and I don't know why