Add using std::list to swarm.cpp

- Update method definitions according to this change