An implementation of flocking behaviours and agents.