Adds a linked list class