pipe_example_5.c argument transfer put into a loop