Iterative computation of nash equilibria in M-player games with partial weak coupling