Hw10 Problem 10

How many homomorphisms are there of $\mathbb{Z}$ into $\mathbb{Z_{2}}$?
There are two homomorphisms of $\mathbb{Z}$ into $\mathbb{Z_{2}}$, one where $\phi(1)=1$ and where $\phi(1)=0$.