Array.push & shift is a better way to FIFO queues