Added Levenshtein library and distance usage to comparison method.