Uses a dummy node and generics…. this implementation of a singly linked list eliminates need to use tail reference