Add code for a single linked list