worked on Calculator2.java