Circular Permutation Example Problem