Generating a set of permutation given a set of number and some condition on the relative position of the elements
Generating a set of permutation given a set of numbers and some conditions on the relative positions of the elements