Leetcode 7 Reverse Integer Solution