Understanding evolution as an emergent process: learning with agent-based models of evolutionary dynamics