Just a note. The distribution being created here is the Binomial distribution. It just so happens that because of the central limit theorem, you can approximate it with the Gaussian distribution. For a low number of samples (n<20), this approximation will degrade.
http://en.wikipedia.org/wiki/Binomial_distribution#Normal_ap...