Fixed parser
Tests should use realtive paths.
Fix Dijkstra and BFS for undirected graphs