This is the Programming Assignment #2 for R programming submitted
by dataanalyse.