published edit distance in go