Sudoku solver framework in C++