add program to calculate digits of pi