Levenshtein distance methods for NSString.