Generative agent-based modeling: an introduction and tutorial