Solves a sudoku puzzle.