[WIP] Support undirected graphs for Algorithm\ShortestPath

This PR is a WIP ticket to keep track of the current status to actually support undirected graphs for Dijkstra and MooreBellmanFord.

* [ ] Implement fix
* [ ] 100% coverage
* [ ] Documentation / Changelog