Modified main.cpp - propagation of map from text file (excludes start
and end)