Change to levenshtein algorithm