Anagrams without sorting the strings