I just want to implement two types of nodes(only nodes): A node for singly linked list and a node class for doubly linked list. The obvious solution would be to define two s