line_count function opens a file, reads it to a buffer, prints the buffer, and closes the file.
functions for a linked list.
header file for linked list functions.
main file for linked list functions.