sudoku solver / generator in Python