Add tests for lambda as an edge weights map.
Raise ArgumentError when edge weight is negative or undefined.
Merge pull request #6 from KL-7/dijkstra

Minor improvements (asserts) for Dijkstra algorithm