Implemented a basic priority queue.

We now have a passing unit test!