Including 'Transposition' in edit_distance