Add Dog example

great post on forum:

https://class.coursera.org/rprog-002/forum/thread?thread_id=589