checks a modified sudoku puzzle for correctness