Implements basic flocking