make expansion operator const.
add palindrome generator.