Gregory-Leibniz series to calculate pi | ScratchStats