Change sudoku logic