Finished exec, modified signal.c with an example