Coursera R Programming Assignment (rprog-004)