A simple sudoku_solver in c++