update .gitignore and Makefile in lab2