Started to implement sentenceAnagrams function