Create editdist.cpp