Replace many spaces on a line with one space
Escaping symbols program and whitespace count program.