Merge pull request #9 from KL-7/spanning-tree

Prim's algorithm for minimum spanning tree
Generalize edge weights maps into properties maps.
Implement Edmonds-Karp algorithm.