Which of the following rings are integral domains?
1. The ring of integers
2. The ring of Gaussian integers (that is, Z[i ] = {a + bi | a, b in Z}).
3. The ring Z x Z
4. The ring Z[x] of polynomials with integer coefficients.
5. The ring Zn of integers modulo n, n not prime
6. The ring Zp of integers modulo p, p is prime.
7. The ring M2(Z), that is, 2 x 2 matrices of integers.