Adding empirical_cost_edit_distance

First draft - Not tested!!