This program calculates pi in a GUI interface.