Assignment 1 for the Programming R course.