Update SodukuSolver.java

added validation condition for soduku