Fixed bugs, added test cases for  dijkstra graph problem