Sudoku Solver Algorithm C++