Code:
(int p = 0; p < total_words; p+=2)
p+=2 is the same thing as p = p + 2