retrieve methods
retrieve methods again
Refactored to use helper methods. Helpers include: writeInt (using a location and int),
readMapHeader (reads current length from Map file), writeMap (adds new "row" to map),
and writeData (adds new "row" to data).