Python program to solve Sudoku puzzles.