added ArrayQueue class