3D Boids simulation in C++