A System Implementing Cooperation in Multi-Agent Networks