Adding simulation code for Svante's home work in probability.