Text this: Gillespie algorithms for stochastic multiagent dynamics in populations and networks /