I/O setup

Write map array to text file, read map array from text file. Allows
saving of maps.