Python script to estimate the value of Pi using the Monte Carlo method