Palindrome Program In Python Using Reverse Function In Java