Implemented the linked list testing assignment