Some flocking code for unity