Update Exercise5.java