algo-004 assignment solutions, dijkstra, inversions