Add anagram exercise in scala