A beginner C++ program to approximate thousands of digits of PI.