It makes sense to be able to delete each pair independently. This is done by first swapping and then popping the last element