Implemented subtract and setenceAnagrams methods