resizing array queue