Create editDistance.cpp

we can use dynamic programming to solve the problem.