Algorithm to compute the edit distance between two strings.