generates nurses and soldiers now.
fixed the undefined xsize/ysize problem with maps