To check whether two strings are Anagrams of each other