pi approximation (Raspberry Pi and Monte Carlo method)