Create Solution3.java