https://class.coursera.org/rprog-017 ex2

https://class.coursera.org/rprog-017 execise2