finished core functionality of linked list library