Made constructors of WeightedEdge visible.
Implemented remained interfaces of WeightedGraph.