Programming Assignment 2

Please see my version for Programming Assignment 2 as part of Coursera's
R Programming Course.