Original WC program that counts lines.