replaceSpaces, palindromesExtract, mostFrequentWord and cardFrequencies - implemented.