Computing coalitions in Multiagent Systems, A contextual reasoning approach