Why did people immigrate to the united states in the nineteenth century and two difficulties that immigrants faced leaving their new homes and starting a new life in the united states?