added makefile and fixed gitignore