Add solution for problem 1-8: Write a program to count blanks, tabs and newlines.