Adding functional PalindromeDecoding