Short Python program to calculate pi to arbitrary precision.