Ass.2 for R programming Coursera fix1