Implemented signals, sigchld_handler() & waitfg().