finish linked list problems, except leaving two problems for noe