Added maze generation with wall collisions.