Chapter 5 exercises

Finished chapter 5 exercises in Ruby on Rails Tutorial.