Added most of the code examples from chapter 4.
Modified git ignore to not include vim .swp