Added levenshtein distance measure code