Update Exercise8.java