[math-fun] Constructing a constrained sudoku grid