Source for the agent-based model in 'Signaling games and modality'