Linked List Exercise for Algorithms Lab Week 1