k&r; exercise 1.6 - eof check
k&r; exercise 1.7 - eof value
k&r; exercise 1.8 - counting blanks, tabs and newlines