Implement boids algorithm for flocking
Separate velocity update from position update.