add new Aggregator class
full revision with Aggregator class
fix the corner case of maxmin
change def to lazy val to make sure that the computations in function be evaluated only once
test sparse vector RDD
add comments on functions