Improved the mess of pointers and integrated the swarmer's coordinates

into the Swarmer class.

The previously occurring segfaults were caused by pointing to a struct coords (in the Swarmer class) that had been freed by the vector when it was growing.