Essays on actor models in exchange networks and social dilemmas door