Calculates pi using the Chudnovsky algorithm, courtesy of Wikipedia https://en.wikipedia.org/wiki/Chudnovsky_algorithm
Because scratch uses floats, and not arbitrary-precision decimals, the calculator cannot calculate more than a few digits.