finished ps with regexp and added kill with fork() and execvp()