Palindrome Program In Java Using Lambda Python Function