fork checks for valid cpus
removed msg.c