Simple calculator written in Java.