A working Boids algorithm