PermutationCheck Codility