Trapezoid graph maximal clique enumeration algorithm pseudocode