(a) Suppose that $\displaystyle \phi : R \rightarrow S$ is a surjective ring homomorphism. Prove that if $\displaystyle R$ is a principal ideal domain then every ideal in $\displaystyle S$ is also principal.

(b) Give an example to show that S need not be an integral domain.