Bug correction. Do not compute Dijkstra if the grid cell contains a Wall (PacmanSMA)