First submission to programming assginemt of the coursera class on R programming.