Update lab2.java