added skeletal code for singly linked list.