Manacher's ALGORITHM