Tracking Predecessor nodes for traversals added.

Two dimensional numpy array returned, 1 for the nodes reached, another for the predecessors