Update edit_distance.hpp