chandan's submission of Count palindromes | CodeChef