public SudokuGrid CreatePuzzle(Difficulty difficulty) { var watch = System.Diagnostics.Stopwatch.StartNew(); var puzzle = _generator.CreateGrid(difficulty); watch.Stop(); var elapsedMs = watch.ElapsedMilliseconds; Console.WriteLine($"Generated {difficulty} puzzle in {elapsedMs} ms."); return(puzzle); }