Adding solutions for anagram-detection