Description: The function generating transpositions on a set. (Contributed by Stefan O'Rear, 16-Aug-2015)