public ScriptBuilder addChunk(ScriptChunk chunk){
  return addChunk(chunks.size(),chunk);
}

public ScriptBuilder addChunk ( ScriptChunk chunk ) { return addChunk ( chunks . size ( ) , chunk ) ; }
adds the given chunk to the end of the program
