added mutualexclusion alg for modelchecking