Fixed Graph.AddEdge function to insert unknown vertices in the given edge into the graph. Implementations of AddCostToEdge and Join function lost somewhere in merge long ago