public static void Main(string[] args)
 {
     var matrixSize = 10;
     char[,] bigMatrix = new char[matrixSize, matrixSize];
     int brickInitRation = 2;
     InitMatrix(bigMatrix, brickInitRation);
     PrintMatrix(bigMatrix);
     var lab = new Labirinth(bigMatrix);
     lab.FindConnectedAreas();
 }
        public static void Main(string[] args)
        {
            var matrixSize = 10;

            char[,] bigMatrix = new char[matrixSize, matrixSize];
            int brickInitRation = 2;

            InitMatrix(bigMatrix, brickInitRation);
            PrintMatrix(bigMatrix);
            var lab = new Labirinth(bigMatrix);

            lab.FindConnectedAreas();
        }