Implemented anagram function, reorganized the header file structure.