reverseInteger stupid version