search palindromes from their centers

O(N^2) run-time, O(1) space