Submitting the solution of the second assignment of the R Programming Coursera course