solve sudoku problem using dfs