'Get predecessors of a node. The node should be in the graph.
:param node: The node to work with.
:return:     A list of predecessors.
:rtype:      list'

def predecessors(self, node):

    raise NotImplementedError()
