Add levenshtein distance implementation