Four different ways to implement linked lists.