Created a generic node class for use with linked lists et al.