add .gitignore and exercise 1-4