added rosettacode.org/wiki/Priority_queue#FunL task