random map generation is basically done