def print_solution(self, distances_from_source: list[int]) -> None:
        print("Vertex \t Distance from Source")
        for vertex in range(self.vertices):
            print(vertex, "\t\t", distances_from_source[vertex])