Palindrome Count

Add a new problem Palindrome Count and its solution. But I solve it with
O(n^2) instead of O(n).