added debug statements
added new method to remove duplicate characters.
no need to initialize all the variables.
Adding Ex. 1.4 for checking anagrams.