R Programming assignments