Assignment 2 for R Programming, Coursera data science specialization.