added Gemfile, modified chapter 4.md