Sherlock And Anagrams Solution