garret's linked list example

another example in "think like a computer scientist"
useful for queuing operations.