Code for the Mining of Massive Datasets