Update HW1.java