build the basic generic single linked list