code: public static void pipeline(KProgram program, KProcedure... procedures) {
  		if (procedures.length < 2) {
  			throw new IllegalArgumentException(MessageKind.E0003.format());
  		}
  
  		KProcedure kLastProcedure = procedures[procedures.length - 1];
  
  		KProcedure previous = null;
  		boolean isLastPipeline = false;
  		for (KProcedure procedure : procedures) {
  
  			if (procedure.equals(kLastProcedure)) {
  				isLastPipeline = true;
  			}
  
  			if (previous != null) {
  				new KPipeline(program, previous, procedure, isLastPipeline);
  			}
  			previous = procedure;
  		}
  	}
docs: Helper method that creates a pipeline with a set of {@link KProcedure}.
  
  @param program
  the program that contains the pipelines
  @param procedures
  the list of procedures to chain in the sampe pipeline