add RemoveWord function

change functions returning IEnumerable to be iterators