Added Weighted DiGraph edge implementation and tests thereof.