Checked if 2 strings are anagrams