This class represents a directed graph using adjacency matrix representation
class Graph : NEW_LINE INDENT def __init__ ( self , graph ) : NEW_LINE INDENT self . graph = graph NEW_LINE self . ROW = len ( graph ) NEW_LINE DEDENT DEDENT