Monte Carlo determination of the Pi number