private int getNearestCentroid(String DNA) {
		int index = -1;
		int len = this.centroids.length;
		int minDistance = Integer.MAX_VALUE;
		int distance;

		for (int i = 0; i < len; i++) {
			distance = 0;
			for (int j = 0; j < this.DNAlength; j++) {
				if (this.centroids[i].charAt(j) != DNA.charAt(j))
					distance++;
			}
			if (distance < minDistance) {
				minDistance = distance;
				index = i;
			}
		}
		return index;
	}