Added new permutation generator