Main example for priority queue using dijkstra's algorithm.

I wanted to have a slightly larger example compared to the method examples, but I'm unsure how it worked out.

Feedback would nice.
bikeshed alert: wonder if this shouldn't be a full `position` instead. It's not that much longer.