Added calculator to apples.java