added palindrome algorithm