Source Code for Exercises in Mining of Massive Datasets