k&r; exercise 1.3 - remove additional trailing newline in test file