Constructing permutation polynomials over finite fields