re-write of carrot NPC script to use boids