Simulating Transitions to Agriculture in Prehistory