Why did many farmers go into debt in the late 1800's