Add solution to compute the minimum edit distance
dynamic programming