Third graded assignemnt from course 4ST315 - Statistics with R