Finding all cliques of an undirected graph