Update swarm.cpp

Updating version