CS167: Reading in Algorithms Counting Triangles 1 Social Networks and Their Properties