Fixed stdin reading
child 4 now reads a line from stdin instead of one word at a time
added a random 10 to srand to make it more random (hopefully)
need to ask mak about some messages being lost in the pipe