added calculation of levenshtein distance to csv output