Mamoudou Gassama, an undocumented immigrant from Mali, scaled a building in and rescued a child dangling from the fourth floor.