A simple Java program to calculate Pi using parallel processing and runnable threads