How did the introduction of agriculture affect early peoples?