Simple example of using Monte Carlo methods to estimate Pi.