Pure functional priority queue - initial version.
Set implemented as a BST. Initial version.