static void Main(string[] args)
        {
            // Ask the user, the size and the generation mode
            int size = getBlockSize();
            int mode = getMode();

            // Generate a sudoku
            SudokuGen sg = new SudokuGen(size);

            int[,] sudoku = new int[size, size];

            switch (mode)
            {
            case 1:
                sudoku = sg.generateSudoku(size);
                break;

            case 2:
                sudoku = sg.importSudoku(size);
                break;

            default:
                break;
            }

            // Solve
            Solver solver = new Solver(sudoku);

            solver.solve();
        }
        static void Main(string[] args)
        {
            int size  = presentation();
            int _mode = mode();
            //SudokuGenerator sg = new SudokuGenerator();
            SudokuGen sg = new SudokuGen(size);

            int[,] sudoku = new int[size, size];

            if (_mode == 1)
            {
                sudoku = sg.generateSudoku(size);
            }
            else
            {
                sudoku = sg.generateSudoku(size);
            }

            Solver solver = new Solver(sudoku);

            solver.solve();
        }