More efficient ratings calculation
Stop spark context after work is done
Comments
Added test for ratings calculation