Homework for JHU R Programming Class