added Sudoku.isCorrect method