Create priority-queue.js