def __init__(self, numberOfNodes):
    self.numberOfNodes = (numberOfNodes + 1)
    self.graph = [[0 for x in range((numberOfNodes + 1))] for y in range((numberOfNodes + 1))]
def __init__(self, numberOfNodes):
    self.numberOfNodes = (numberOfNodes + 1)
    self.graph = [[0 for x in range((numberOfNodes + 1))] for y in range((numberOfNodes + 1))]