Calculated an estimate of the value of pi using both a threaded and a non-threaded time-bounded simulation.