Create base class for generating maximal cliques