added signal handler function
Merge branch 'master' of https://github.com/bradmarkshaw/cs3800hw3