Sudoku Solver in Python