Assignment 2 of JH coursera R Programming - comments updated