How did the Underground Railroad work and for how long did it run?