Leetcode Problem Reverse Integer C