sig2.c - Example given in class for signals