implementing remove_boid function