Add join() to the RDD class.

Do you know whether there's a better method for double loops? In the past I've seen some non-trivial differences in for-loops, while-loops, or one of the apply() functions.