Update Assignment2.java