Solves sudoku puzzles