Sudoku solver for Python