code: def getCircles(rawnodes,rawedges):
      ''' Example input:
      rawnodes = [1,2,3,4,5,6]
      rawedges = [(1,2),(1,3),(1,4),(2,4),(1,5),(5,6)]
      
      Returns an array of Circle objects with attribute child arrays populated.
      '''
      circles = []
      for x in rawnodes:
          i = Circle(str(x))
          for (p,q) in rawedges:
              if p==x:
                  i.addChild(q)
          circles.append(i)
      return circlef getCircles(rawnodes,rawedges):
      ''' Example input:
      rawnodes = [1,2,3,4,5,6]
      rawedges = [(1,2),(1,3),(1,4),(2,4),(1,5),(5,6)]
      
      Returns an array of Circle objects with attribute child arrays populated.
      '''
      circles = []
      for x in rawnodes:
          i = Circle(str(x))
          for (p,q) in rawedges:
              if p==x:
                  i.addChild(q)
          circles.append(i)
      return circles
docs: Example input:
      rawnodes = [1,2,3,4,5,6]
      rawedges = [(1,2),(1,3),(1,4),(2,4),(1,5),(5,6)]
      
      Returns an array of Circle objects with attribute child arrays populated.