Create a grid of lines covering the whole area of the stage and convert it to an MC. The grid is used to fill with
a certain color the areas between the grids, which allows easy drawing of labirynth walls. Later you can just erase
the lines, or put their alpha to 0. In order to make the walls convenient for collision detection, one should select
separate sections constrained to rectangular shapes, or other wise colision detection won’t work properly since some
of the white (non-wall) areas will be considered as walls by the algorithm. These separate shapes should be converted
to symbols, and I’ve been naming all of the instances as “part1”, “part2”, “part3”, etc. so that I can loop through
them easily by name reference.