How did early people adapt to the environment?