Update Homework1_final.java

homework_final