Write a signal handler for ctrl-c to print current value of a computation. (ctrlex.c)
Compare with the book shellex.c