Week 1 assignment for the R class at John Hopkins