added longest palindrome algorithm - not finished