added edit to print out ALL nodes of path