Palindrome Using Lambda Python