What problems did workers face during the late 1800s and early 1900s and how did they try to enact change?