enumerable palindrome implemented