Completed implemented weight undirected edge/graph and directed edge/graph data structures.