Renamed method to removeWordsNWordsIn and improved efficiency