yappy and sleepy threads log their outputs to a shared variable in the parent + parent waits for children to terminate