Update Lesson2HW1.java

Final version