assignments for R programming