Intro to R HW 2