Working levenshtein version
Working levenshtein version
Increase performance