Finding irreducible polynomials over finite fields