function for Check Sudoku Questions