Create Edit distance