Add .gitignore to avoid vim swapfiles (*.swp).
Also ignore a.out.
Add homework #1.
Add another sample program from chapter #1.