Add head Node

def add_head(self, head):
        """ Add head Node """
        if not isinstance(head, DependencyNode):
            raise TypeError('"head" must be a DependencyNode')
        self._heads.append(head)