update readme
improve logic when child process dies by using WIFEXITED, WIFSIGNALED, etc
update test_readme example to match new readme