add a leetcode solution: Reverse Integer.