Implemented priority queue.
Implemented dijkstra's algorithm (incorrectly, so far...)