Update min_edit_distance.py

the substitute cost should be 1 not 2