pipes example in C