A sample of map-reduce job.  It finds all triangles in a connected graph