Multi-Agent simulation alg