Statistics calculator written in Java.