Java and C# sudoku solver example