Node at the halfway point
Write middle_node(head): given the first node of a singly linked list, return its middle node (not its value). With an even number of nodes there are two middle nodes: return the second one. For an empty list return None. Each ListNode has val and next.
Aim for a single pass, without counting the nodes first.
The tests call the provided run_middle_node(values), which builds the list from values and returns the values from your node to the end of the list.
Examples
run_middle_node([1,2,3,4,5])→[3,4,5]run_middle_node([1,2,3,4,5,6])→[4,5,6]run_middle_node([7])→[7]