Write a function to delete a node in a singly-linked list. You will not be given access to the head of the list.