fn remove(list: *Self, node: *Node) void
Remove a node from the list.
Arguments: node: Pointer to the node to be removed.
list: *Self,
node: *Node,