Update WordSearchSolver.java