A swapping queue implement