Update CheckSolutions.java