Mathematica interview question

Implement a linked list