A calculator written in Java