Assignment SWARM C++ and small Python updates