Reverse Integer Leetcode Python Beginner