Keep the list based digit permutation functions here for future
reference, but don't use them here (suspect they are relatively
inefficient).
Make a list of the cyclic permutations.