A simple program for maintaining a list of prioritised tasks sorted by priority using a heap.