Refactored diff.py script

Extracted 0.5 as the similarity threshold into a CONSTANT called SIMILARITY_THRESHOLD
Now the user can configure the simularity threshold as he or she may want it