Update Exercise3.java