Added the DynamicQueue implementation.
Added swapNormal and swapRecursive.