What were several effects of the large number of immigrants to the U.S. in the late 1800s to early 1900s