pipe_append function

Append two pipelines