Swap() can be static since it doesn't rely on the object.