Adding RandomPermutationGeneration script to repo, tested to work.