Coursera - R programming - Assignment 2

My solution to programming assignment 2 on the Coursera; Introduction
to R programming course - delivered by John Hopkins University