Check if two strings are anagrams (without using collections).: Hard Programming Problem