finsihed implement a singly linked list