This is a basic calculator in Java