Added makefile and fixed .gitignore.