R Programming class exercises