the exercises and textcode from the book Introduction to Data Science by Jeffrey Stanton