Simple examples of Monte Carlo and MCMC