merge ready and delayed queue into priority queue

more optimized implementation,
ready means zero time delayed