Week 2 Lecture Notes in R programming