add queue implement with array.