python: partial solution to sudoku board generation.