Groups of permutation polynomials