Changed len(xs) to variable number_of_boids