Mathematica Interview Question

Implement a linked list