Determine if a Sudoku is valid