Simulate molecules using multi-agent systems