Solves sudoku puzzles that the user inputs