Implemented several functions in linked_list