Extracted GenerateMatrixBlockedCells() from GenerateMatrix() and IsInTheLabirynth() method to check if the current cell is inside the labirynth