Added a waitpid example