code: private int[] convertLabelsToInds(String... label)
  	{
  		int[] ind = new int[label.length];
  		for (int i = 0; i < label.length; i++)
  		{
  			if (hasLabel(label[i]))
  			{
  				ind[i] = indexOf(label[i]);
  			}
  			else ind[i] = lastIndex + 1;
  		}
  		return ind;
  	}
docs: Converts the labels to the indexes. Assumes the sanity of the labels already checked and if
  any new label exists, it is only one and it is the last one.
  @param label labels
  @return indexes for labels