Levenshtein edit distance and alignment