R Programming coursework