Solve Sudoku puzzles using a backtracking algorithm