Added queue that supports by fifo and by priority