Exercise 2. This software tests fourth degree
polynomials over Zp for p = 2 or 3 for irreducibility. When a polynomial
f(x) is irreducible the software finds a generator for the cyclic group
of nonzero elements of the field Zp[x]/<f(x)>
and creates a conversion table for addition and multiplication similar to
Table 22.1 in the text.