clean code, improve plot by using rdd's rangePartitioner