Particle system with N-body interaction implemented (flocking behavior)