implemented sortAnagrams
implemented searchRotated