Generate a 2d-map