added Levenshtein distance algorithm for strings