fixed palindrome algorithm
added anagram algorithm
improved ana algorithm