+array queue implementation