Prime permutations
working