Dynamic array allocation, and also world map output re-implemented