Read a linked list into a Python list
Write values(head) that returns the values of the linked list starting at head as a
Python list, in order. head is a ListNode or None.
values(1 -> 2 -> 3) -> [1, 2, 3]
values(None) -> []
The point is to practise the walk. The checker has a helper that does this; write your own.
def values(head):
...