Functions

return edges list (u, v), u < v the algorithm start from vertex 0. O(V^2)