Update hw3.java