Fix bug in palindrome.
Implementation of anagrams.