Assignment 2 for Big Data