Added gitignore file and small test program that catches and exits on SIGINT.