adding in assignments from R course