Code for a lab on linked lists.