Update HW5.java