Permutation Sequence and Rotate List