A calculator program written in Java