Integrated the mapping task with Martin's code.
A full map of the room is created by the rover while it travels.