Function Example Program In Python For Palindrome In Java