set up linked list for ch2