random generation of the walls
Some minor fixes