python: simple sudoku solving.