public void GetNeighbors()
	{
		int i,j,k;
		Efloy ng;

		for (i=0;i<NumberOfNeighbors;i++) {
			ng=neighbors[i];
			for (j=0;j<NumberOfNeighbors;j++) {
			   if ( ng.neighbors[i].color == ng.neighbors[j].color) {
                               if (dist(ng.neighbors[j]) < dist(ng)) {
				   neighbors[i]=ng.neighbors[j];
                               }
                           }
			         //if (ng.neighbors[j].type == 0)
				//	neighbors[i]=ng.neighbors[j];
			}
		}

		xc = 0;
		yc = 0;
		for (k=0;k<NumberOfNeighbors;k++) {
			if (neighbors[k] == this) neighbors[k]=neighbors[k].neighbors[0];
			xc += neighbors[k].x;
			yc += neighbors[k].y;
		}
		xc = xc/NumberOfNeighbors;
		yc = yc/NumberOfNeighbors;
	}