I\'m trying to implement a pipe so that I can carry out commands like "ls | sort". My main process forks a child process which creates a pipe, forks another child, and