Palindrome In Python Using Lambda