Java program to calculate the number pi concurrently using series and the Monte Carlo method, also has a GUI.