Check for a palindrome number - Python Mathematics Project 10