Reverse Integer

Modified to fix the overflow issue