Create Solution2.java