on the start up of the program the correct number of boids are there but as boids move out of range they disappear. this also happen when they leave the edge of the screen