My lists now traverse correctly and can be checked for empty.  Also added prototypes for head and tail."