This is the code of the homework for bigdata analysis