Update Homework3.java