Prototyping multi-agent systems: a case study