Rewriting Pi calculation from Scala to Java.
Rewriting Pi calculation from Scala to Java.