Added Duplication detection

Added MD5 hashing, updated unit tests