A (hopefully) small program that calculates Pi to the nth digit.