started similarity function

This reconfigures the json file that will be created. This adds
levenshtein tool also.