Python script that solves a Sudoku puzzle