Completed assignment 2 of R Programming course.