Adding code to remove duplicate characters in a String and to determine if a String is an anagram of other String.