Fixed Calculator.java by adding a try catch for division by zero