Reverse Integer

reverse a integer whether it is positive or negative