The Dynamics of Coalition Formation on Complex Networks