Finding the shortest path with topological sort in Directed Acyclic Graph