Calculator written in Java.