Coursework post R programming week 2