Rotate List and Permutation sequence