solution for Sudoku Solver