Figure 4 Algorithm for computing all maximal cliques.