add implemention of linked_list