C++ implementation of Sudoku solution and random problem generation