shortestPath now accept an external graph
add comments to priodict.py
add a function to test an existence of an edge in a graph
Add a function to symmetrize edges
symmetrize edges of localminimagraph