Add Manacher's Algorithm.