Palindrome Program Using For Loop In React Jsx If Statement