Assignments for R programming class