add pig to find triangles in an un-directed graph