added counting palindromes problem