created and implemented singly linked list