Estimating Pi using Monte Carlo Simulation