A double ended priority queue, in go