updated flip_pipe. moved examples to subdir