path_vector_new function

Faster way to record a path through all nodes of an adjacency matrix