Added offer and add support to PriorityQueue