c exercises to create and display singly linked list w3resource