Adjacency matrix working, left off trying to generate all paths into trajectories