This program calculates pi through the use of random numbers