Add a .gitignore file to the project.
Get examples 21 & 22 working.