continuing work on assignment1 cs283
almost finished assignment1 cs283, need to fix checkAnagram function