private void WrapAround(Boid boid)
 {
     if (boid.X < 0)
     {
         boid.X += Width;
     }
     if (boid.X > Width)
     {
         boid.X -= Width;
     }
     if (boid.Y < 0)
     {
         boid.Y += Height;
     }
     if (boid.Y > Height)
     {
         boid.Y -= Height;
     }
 }
        private void BounceOffWalls(Boid boid)
        {
            double pad  = 50;
            double turn = .5;

            if (boid.X < pad)
            {
                boid.Xvel += turn;
            }
            if (boid.X > Width - pad)
            {
                boid.Xvel -= turn;
            }
            if (boid.Y < pad)
            {
                boid.Yvel += turn;
            }
            if (boid.Y > Height - pad)
            {
                boid.Yvel -= turn;
            }
        }