Fixed up implementation of Palindrome.cs