Implemented Fast Levenshtein Distance Formula in Swift