hopkins r course assignment 2