Implemented repeated squaring algorithm for calculating polynomial modulo for large exponents. Now the finding of irreducible polynomials is much faster and may be used for real.