this is a super pi calculator! After three iterations it gets pi to all the correct decimal places scratch can handle! (the last digit is 4 due to round off issues on scratch) this algorithm doubles the amount of correct digits every iteration!
thank you Wikipedia for this algorithm!