I\'m asked in an exercise to write a code that determines whether a word among a string array "string" is a palindrome or not restricting this code to implement .r