Add single linked list code