Fixed a minor bug
Rename + Edges from text file

Renamed least_cost to digraph for clarity.
Added a function to digraph that creates a set of all edges given a
text file (we can make a graph from edges)
Added cost function, did some tests

I know the doctest thing isnt supposed to be in main, but I just put it
there to test some cost stuff.
.