R for Data Science: Exercise Solutions