Made avoid_nearby() function to avoid nearby boids.
Made update_position() function to update position based on velocity.
Moved figure creation to its own figure.