def addCol(adjMatrix):
    """Adds a column to the end of adjMatrix and returns the index of the comlumn that was added"""
    for j in range(len(adjMatrix)):
        adjMatrix[j].append(0)
    return len(adjMatrix[0])-1