Coursera Beginning R: Pear assignment