map, cells and random path generation