private int nextAssignedOne(int cent, int lastIndex, int [] assignments) {
protected int nextAssignedOne(int cent, int lastIndex, int[] assignments) {
  private int nextAssignedOne(int cent, int lastIndex, 			      int [] assignments) {    int len = assignments.length;    int index = lastIndex + 1;    while (index < len) {      if (assignments[index] == cent) {	return (index);      }      index++;    }    return (-1);  }