Reverse Integer Solution Leetcode