6.3 listing for prepending a node to the linked list