Update Solution2Q2.java