linklist operation

basic linkedlist algorithms