Variable change before multiple links

Going to do some pretty neat stuff with links, but do want to backup before I screw something up, which will invariantly happen. I still don't quite remember why exactly I needed to count the number of links for each particle. I mean I don't really need to keep track of that, I'm just iterating trough all of the particles when I calculate the forces so I shouldn't need to keep track of that. I'll seriously need to think about how I'm going to do this and whether it's possible to have a dynamically allocated array within the struct which I have dynamically allocated. Yo dawg.