writing errors from execvp and fork to log file. reaping zombies using waitpid. still need to check signal handler