Homework problem involving interprocess communication using pipes.