add .gitignore, Makefile, and shell program
use variable for compiler in Makefile