python example lecture code for samples needed for coin flip experiment, variance, standard deviation and plotting histograms