Approximation of Pi in Python using the Monte Carlo method.