Finished implementation of [] operator so it effectively shrinks and
expands the DynamicArray
-Frank