Resolve sudoku puzzle