Prime permutations article and source code
correcting mistakes and adding source code for old article