escribe una función para ver si una palabra es un palindromo
bool isPalindrome(char *word) { if (word == NULL) { return false; } if (strlen(word) == 0) { return false; } if (strlen(word) == 1) { return true; } int start = 0; int end = strlen(word) - 1; while (start < end) { if (word[start] != word[end]) { return false; } start++; end--; } return true; }