Construct the return prdd properly in min/max. damn typos :p
The groupby test passes
Remove the extra print statements