added k-cliques and dynamic graphs