Added array queue implementation