in simple choice from changed priority queue to linked list when comparator is null
initial version of combinational choice from