R Programming Homework 2

Minor touchup of comments.