Calculation of the digits of pi
by the spigot algorithm of Rabinowitz and Wagon
The source.