Commit of the 2nd program assignment of the coursera course on R programming