swapping of integerswap