Added palindrome functions