C++ solver for sudoku problems