Initial commit of WIP PR for terasort benchmark.

As discussed on list, this is a WIP for Spark Terasort.
How so? What is it doing s.t. we need to first call `takeRight`?