Add Edit distance problem