c++ Solving Sudoku