Fix for problems in exercise 2 not calling setpgid.