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).
Merge pull request #1 from gnauhnoj/jon-dev

Merge dev-alap and refactor to use helpers