c program for linked list with many functions.  Also made into library