Added heapsort and Dijkstra's SP