The discovery of what encouraged people to abandon their nomadic lifestyles and settle down in places?