The code implements a very basic singly linked list