Calculation of π | ScratchStats