c dijkstra is working except for edge cases
