Append function wordsAddRemInfo for analyze words with append and remove lines in code