Check if Sudoku solution is correct