Introduction to agent-based modelling for social scientists