Improved the floodfill to not explore Cells if all of their walls are already inspected