Add Edit Distance solution.