Dan Snow looks at 19th century New York when migrants arrived in a city consumed by squalor, stench and soot.