It seems like the function is not providing any output for most of the words. I can only analyze the output for "Spain" and "Chichen Itza", but this is not enough to give an accurate description of the function. Please provide two more words that you want to test.