1 Implement the following functions related to the singly linked list:
(a) The removeAll(head) function, which accepts a head reference to a singly linked list, unlinks and remove every node individually from the list.
(b) The splitInHalf(head) function, which accepts a head reference to a singly linked list, splits the list in half and returns the head reference to the head node of the second half of the list. If the original list contains a single node, None should be returned.