now stores all cliques as they are generated.