Scotiabank Interview Question

Monte Carlo to approximate Pi