add Queue on dynamic array (not completed)