A few different ways of calculating pi from random numbers in parallel.