Create solve.java