Code cleanup, made output more readable

I've cleaned up the code a bit (get_hash renamed to Dups)

This version is again working as intended.

Also in the output file, each set of duplicates will be on it's own line
to increase readability.