adds anagram and encrypt functionality