Added generate rooms to Map class.