extended pipe method to call it with multiple processes. Also adapted examples and readme to show all available ways of using the pipe.