>> monteCarloPi(7000000) ans = 3.141512000000000