longest pal. substring (Manacher's algorithm)