BNY interview question

Implement a single linked list.